package com.glela.common.model.sms;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.math.NumberUtils;

/**
 * 钱包提现短信
 * @author zls
 *
 */
public class SMSWalletDrawMoney extends SmsTemplate {
	private String	drawMoney;		//提款金额（元）
	private String	bankName;		//银行名称
	private String	bankCardNo;		//银行卡号
	private String	accountName;	//开户人

	public SMSWalletDrawMoney(String mobile) {
		super(mobile);
	}

	@Override
	protected boolean _checkMsg() {
		if (!NumberUtils.isCreatable(getDrawMoney())) {
			return true;
		}
		if (StringUtils.isBlank(getBankName())) {
			return true;
		}
		if (StringUtils.isBlank(getBankCardNo())) {
			return true;
		}
		if (StringUtils.isBlank(getAccountName())) {
			return true;
		}
		return false;
	}

	/** 提款金额（元） */
	public String getDrawMoney() {
		return drawMoney;
	}

	/** 提款金额（元） */
	public void setDrawMoney(String drawMoney) {
		this.drawMoney = drawMoney;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankCardNo() {
		return bankCardNo;
	}

	public void setBankCardNo(String bankCardNo) {
		this.bankCardNo = bankCardNo;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

}
